package com.cn.entity;

/**
 * Appointment entity. @author MyEclipse Persistence Tools
 */

public class Appointment implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer province;
	private Integer city;
	private String dateTime;
	private String datePlan;
	private String howGo;
	private String howEnd;
	private String expenses;
	private Integer fromId;
	private Integer toId;
	private String fromPhone;
	private String toPhone;
	private Integer success;

	// Constructors

	/** default constructor */
	public Appointment() {
	}

	/** full constructor */
	public Appointment(Integer province, Integer city, String dateTime,
			String datePlan, String howGo, String howEnd, String expenses,
			Integer fromId, Integer toId, String fromPhone, String toPhone,
			Integer success) {
		this.province = province;
		this.city = city;
		this.dateTime = dateTime;
		this.datePlan = datePlan;
		this.howGo = howGo;
		this.howEnd = howEnd;
		this.expenses = expenses;
		this.fromId = fromId;
		this.toId = toId;
		this.fromPhone = fromPhone;
		this.toPhone = toPhone;
		this.success = success;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProvince() {
		return this.province;
	}

	public void setProvince(Integer province) {
		this.province = province;
	}

	public Integer getCity() {
		return this.city;
	}

	public void setCity(Integer city) {
		this.city = city;
	}

	public String getDateTime() {
		return this.dateTime;
	}

	public void setDateTime(String dateTime) {
		this.dateTime = dateTime;
	}

	public String getDatePlan() {
		return this.datePlan;
	}

	public void setDatePlan(String datePlan) {
		this.datePlan = datePlan;
	}

	public String getHowGo() {
		return this.howGo;
	}

	public void setHowGo(String howGo) {
		this.howGo = howGo;
	}

	public String getHowEnd() {
		return this.howEnd;
	}

	public void setHowEnd(String howEnd) {
		this.howEnd = howEnd;
	}

	public String getExpenses() {
		return this.expenses;
	}

	public void setExpenses(String expenses) {
		this.expenses = expenses;
	}

	public Integer getFromId() {
		return this.fromId;
	}

	public void setFromId(Integer fromId) {
		this.fromId = fromId;
	}

	public Integer getToId() {
		return this.toId;
	}

	public void setToId(Integer toId) {
		this.toId = toId;
	}

	public String getFromPhone() {
		return this.fromPhone;
	}

	public void setFromPhone(String fromPhone) {
		this.fromPhone = fromPhone;
	}

	public String getToPhone() {
		return this.toPhone;
	}

	public void setToPhone(String toPhone) {
		this.toPhone = toPhone;
	}

	public Integer getSuccess() {
		return this.success;
	}

	public void setSuccess(Integer success) {
		this.success = success;
	}

}